<!DOCTYPE html>
<html class="no-js">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title></title>
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <script src="https://cdn.staticfile.org/axios/0.19.0-beta.1/axios.js"></script>
  <script src="https://cdn.staticfile.org/vue/2.5.17/vue.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.4.11/index.js"></script>
  <script src="https://cdn.staticfile.org/echarts/4.2.1-rc1/echarts.min.js"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.4.11/theme-chalk/index.css" />
  <link rel="stylesheet" href="../../../lib/index.css" />
  <script src="../../../lib/avue.js"></script>

</head>

<body>
  <div id="app">
    <avue-echart-map :option='option' :data="data" :width="1200" :height="900"></avue-echart-map>
  </div>
</body>
<script>
  new Vue({
    el: '#app',
    data() {
      return {
        option: {
          "borderWidth": 3,
          "scale": 87,
          "type": 0,
          "borderColor": "#0dffff",
          "areaColor": "#061d33",
          "banner": true,
          "bannerTime": 3000,
          "fontSize": 12,
          "zoom": 0.6,
          "empAreaColor": "rgba(35, 183, 229, 0.42)",
          "empColor": "#fff",
          "color": "rgba(13, 255, 255, 1)",
          "mapValue": 3,
          "tipColor": "red",
          "tipBackgroundColor": 'rgba(0,0,0,.5)',
          "tipFontSize": 16,
          "mapData": 'https://yapi.avuejs.com/mock/67/china'
        },
        data: [{
          "name": "cxy1",
          "value": 1,
          "lng": 118.836486,
          "lat": 36.653518,
        }, {
          "name": "cxy2",
          "value": 1,
          "lng": 118.733576,
          "lat": 36.747475,
          "zoom": 1.1
        }]
      }

    }
  })

</script>

</html>